package com.teacher.pojo.enums;

/**
 * @Author: zfm
 * @Date: 2021/8/1 17:28
 */
public enum PunishmentLevelType {
    /**
     * 处分等级类型
     */
    //     @ApiModelProperty(value = "等级 10->留校查看处分 20->记过处分 30->严重警告处分 40->警告处分 50->通报批评")
    ONE(10, "留校查看处分"), TWO(20, "记过处分"), THREE(30, "严重警告处分"),
    FOUR(40, "警告处分"), FIVE(50, "通报批评");
    private String type;
    private Integer code;

    PunishmentLevelType(Integer code, String type) {
        this.code = code;
        this.type = type;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }
}
